package com.itheima.test.newcustomer;

public class Demo {//面向对象方法改写消费者和生存者案列
    public static void main(String[] args) {
        Desk desk = new Desk();
        Cooker c = new Cooker(desk);
        Foodie f = new Foodie(desk);

        c.start();
        f.start();
    }
}
